The ColorPicker Component > FColorPicker (object) |
FColorPicker (object)
The methods of the ColorPicker component allow you to control the component at runtime. You can define new colors, change the currently selected color, and even change how many colors will be displayed in a row. You do not need to use a constructor to access the methods of the component.
Component methods do not perform error checking for type, as do other native ActionScript objects and actions. Therefore, you should validate parameters before passing them to methods.
Method summary for the FColorPicker object
Method name |
Description |
|---|---|
Adds a new color swatch to the ColorPicker component. |
|
Adds a new color swatch to the ColorPicker component at the specified location. |
|
Retrieves the data provider that the ColorPicker component is using as its data source. |
|
Returns the current color selected in the ColorPicker. |
|
Forces the ColorPicker component to redraw itself. |
|
Registers an outside object ( |
|
Specifies whether users can input their own colors in the ColorPicker component. |
|
Determines whether the ColorPicker is currently usable by the user. |
|
Specifies how many swatches appear in a row in the ColorPicker. |
|
Sets the current value of the ColorPicker component. |